package com.cdxy.dmr.dataObject;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author autoGenCode
 * @since 2020-04-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pay_order")
@ApiModel(value="PayOrder对象", description="")
public class PayOrderDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    @ApiModelProperty(value = "用户id")
    private Integer axUid;

    @ApiModelProperty(value = "订单类型")
    private String type;

    @ApiModelProperty(value = "名")
    private String name;

    @ApiModelProperty(value = "订单类型名")
    private String typeName;

    @ApiModelProperty(value = "图片")
    private String img;

    @ApiModelProperty(value = "总金额")
    private Integer totalAmount;

    @ApiModelProperty(value = "总数量")
    private Integer totalNum;

    @ApiModelProperty(value = "支付方式")
    private String payChannel;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "真实电话")
    private String realPhone;

    @ApiModelProperty(value = "身份证")
    private String realIdCard;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "订单号")
    private String bizNo;

    @ApiModelProperty(value = "预定时间")
    private LocalDate bookTime;

    @ApiModelProperty(value = "失效时间")
    private LocalDateTime validTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
